package org.givwenzen.steps;

public class LineParser {

    public String parse(String line) {
        return line.replaceFirst("(Given: |When: |Then: |And: )", "");
    }

    public boolean isStep(String line) {
        return line.matches("^(Given: |When: |Then: |And: ).*");
    }
}